SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35833: OUTPUT statistics and confidence bands incorrect for SPLINE and LOESS smoothed predictors

DetailsAboutRate It

If you produce smoothing component plots in PROC GAM and use the SPLINE or LOESS smoother in the model, then the partial prediction curve shows the nonlinear effect of the predictor. When the ODS GRAPHICS ON statement is in effect, smoothing component plots are produced by default. These plots are also produced when the PLOTS=COMPONENTS option is specified in the PROC GAM statement.

The confidence bands in these plots incorrectly include a portion of the linear effect of the predictor. The standard deviation and confidence limit variables produced by the OUTPUT statement are also contaminated by this linear portion. The width of the bands includes variance due to this linear part of the predictor's effect and the covariance between the linear and nonlinear parts.

For spline-smoothed predictors, note that the test for the effect in the Analysis of Deviance table tests only the nonlinear part of the predictor. The linear part is tested separately in the Parameter Estimates table. Consequently, the plot may not be visually consistent with the test in the Analysis of Deviance table. For example, if the test of the nonlinear effect of a spline-smoothed predictor is significant, the confidence bands in the component plot may completely contain the zero line suggesting no nonlinear effect.

Since various approximations are used both in the test construction and the construction of the confidence bands, the possibility of inconsistent conclusions between the test and the component plot for a predictor remains even with the fix to this problem which removes the incorrectly-included linear portion of the predictor's effect.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STAT64-bit Enabled Solaris8.2 TS2M09.2 TS2M2
64-bit Enabled HP-UX8.2 TS2M09.2 TS2M2
64-bit Enabled AIX8.2 TS2M09.2 TS2M2
Windows Millennium Edition (Me)8.2 TS2M0
Microsoft Windows XP Professional8.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Standard Edition8.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition8.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition8.2 TS2M09.2 TS2M2
Microsoft Windows NT Workstation8.2 TS2M0
Microsoft Windows 2000 Professional8.2 TS2M0
Microsoft Windows 2000 Server8.2 TS2M0
Microsoft Windows 2000 Datacenter Server8.2 TS2M0
Microsoft Windows 2000 Advanced Server8.2 TS2M0
Microsoft Windows 95/988.2 TS2M0
OS/28.2 TS2M0
OpenVMS VAX8.2 TS2M09.2 TS2M2
z/OS8.2 TS2M09.2 TS2M2
ABI+ for Intel Architecture8.2 TS2M09.2 TS2M2
AIX8.2 TS2M09.2 TS2M2
HP-UX8.2 TS2M09.2 TS2M2
IRIX8.2 TS2M09.2 TS2M2
Linux8.2 TS2M09.2 TS2M2
OpenVMS Alpha8.2 TS2M09.2 TS2M2
Solaris8.2 TS2M09.2 TS2M2
Tru64 UNIX8.2 TS2M09.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.